﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SportsPlatform.Query.PermissionManagement.RoleFunction
{
    /// <summary>
    /// 新增或者更改
    /// </summary>
    public  class AddOrUpdateRoleFunctionQuery
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        public Guid RoleId { get; set; }

        /// <summary>
        /// 功能集合
        /// </summary>
        public List<Function> List { get; set; }

    }
    /// <summary>
    /// 功能集合
    /// </summary>
    public class Function {

        /// <summary>
        /// 功能Id
        /// </summary>
        public Guid FunctionId { get; set; }

        /// <summary>
        /// 设置状态
        /// </summary>
        public bool States { get; set; }

        /// <summary>
        /// 操作Id
        /// </summary>
        public Guid? OperationId { get; set; }
    }
}
